<?php

function smarty_function_ad($paramer,&$smarty){
	
	$add_id = $paramer[id];
	include("E:\wamp\www\phpyun/plus/ad_cache.php");
	$add_arr = $ad_label[$add_id];
	if(is_array($add_arr))
	{
		foreach($add_arr as $key=>$value)
		{
			$add_js.=$value;
		}
	}
	return $add_js;
}
?>